package com.hnas.tjhnaaw.orm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author hongjie 外围系统-商户表
 *
 */
@Entity
@Table(name = "tbl_merchantinfo")
public class MerchantInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3752560321997634623L;

	@Id
	@Column(name = "id", nullable = false)
	private long id; //

	@Column(name = "appId")
	private String appId; //

	@Column(name = "merchantId")
	private String merchantId; // 微信商户id

	@Column(name = "merchantName")
	private String merchantName; // 商户名称

	@Column(name = "terminal")
	private String terminal; // 终端编号

	@Column(name = "eqpId")
	private String eqpId; // 设备编号

	@Column(name = "channel")
	private String channel; // 渠道

	@Column(name = "commercial")
	private String commercial; // 核心商户编号

	@Column(name = "pasmid")
	private String pasmid; // pasm卡号

	@Column(name = "payTypeId")
	private Integer payTypeId; // 交易类型id

	@Column(name = "tradeInfo", columnDefinition = "longtext")
	private String tradeInfo; // 商户交易信息

	@Column(name = "callBackUrl")
	private String callBackUrl; //

	@Column(name = "frontUrl")
	private String frontUrl; //

	@Column(name = "state")
	private Integer state; // 数据状态

	@Column(name = "creationTime")
	private String creationTime; // 数据创建时间

	@Column(name = "updateTime")
	private String updateTime; // 数据更新时间

	@Column(name = "pinKey")
	private String pinKey; //

	@Column(name = "macKey")
	private String macKey; //

	@Column(name = "masterKey")
	private String masterKey; //

	@Column(name = "signState")
	private Integer signState; // 签到状态 1--成功 0--失败

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getTerminal() {
		return terminal;
	}

	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	public String getEqpId() {
		return eqpId;
	}

	public void setEqpId(String eqpId) {
		this.eqpId = eqpId;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getCommercial() {
		return commercial;
	}

	public void setCommercial(String commercial) {
		this.commercial = commercial;
	}

	public String getPasmid() {
		return pasmid;
	}

	public void setPasmid(String pasmid) {
		this.pasmid = pasmid;
	}

	public Integer getPayTypeId() {
		return payTypeId;
	}

	public void setPayTypeId(Integer payTypeId) {
		this.payTypeId = payTypeId;
	}

	public String getTradeInfo() {
		return tradeInfo;
	}

	public void setTradeInfo(String tradeInfo) {
		this.tradeInfo = tradeInfo;
	}

	public String getCallBackUrl() {
		return callBackUrl;
	}

	public void setCallBackUrl(String callBackUrl) {
		this.callBackUrl = callBackUrl;
	}

	public String getFrontUrl() {
		return frontUrl;
	}

	public void setFrontUrl(String frontUrl) {
		this.frontUrl = frontUrl;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getCreationTime() {
		return creationTime;
	}

	public void setCreationTime(String creationTime) {
		this.creationTime = creationTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getPinKey() {
		return pinKey;
	}

	public void setPinKey(String pinKey) {
		this.pinKey = pinKey;
	}

	public String getMacKey() {
		return macKey;
	}

	public void setMacKey(String macKey) {
		this.macKey = macKey;
	}

	public String getMasterKey() {
		return masterKey;
	}

	public void setMasterKey(String masterKey) {
		this.masterKey = masterKey;
	}

	public Integer getSignState() {
		return signState;
	}

	public void setSignState(Integer signState) {
		this.signState = signState;
	}

}
